

import 'package:furaha_mkopo/net/fm_http_model.dart';

class FMOrderModel extends FMHttpModel {

  List<FMOrderBeamedModel>? beamed;

  FMOrderModel({
    this.beamed
  });

  @override
  FMOrderModel fromJson(Map<String, dynamic> json) {
    if (json['beamed'] != null) {
      beamed = List<FMOrderBeamedModel>.from(
          json['beamed'].map((e) => FMOrderBeamedModel.fromJson(e)));
    }
    return this;
  }

}

class FMOrderBeamedModel {

  String? attempt;
  String? felt;
  String? future;
  String? manner;
  String? mother;
  String? passing;
  List<FMOrderSubListModel>? myself;

  FMOrderBeamedModel({
    this.attempt,
    this.felt,
    this.manner,
    this.mother,
    this.myself,
    this.future,
    this.passing
  });


  FMOrderBeamedModel.fromJson(Map<String, dynamic> json) {
    attempt = json["attempt"];
    felt = json["felt"];
    manner = json["manner"];
    mother = json["mother"];
    future = json["future"];
    passing = json["passing"];
    myself = List<FMOrderSubListModel>.from(
        json['myself'].map((e) => FMOrderSubListModel.fromJson(e)));
  }
}

class FMOrderSubListModel {
  String? soul;
  String? patiently;

  FMOrderSubListModel({
    this.soul,
    this.patiently
  });

  FMOrderSubListModel.fromJson(Map<String, dynamic> json) {
    soul = json["soul"];
    patiently = json["patiently"];
  }
}